package com.windowes.weichang.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.windowes.weichang.pojo.ShopUserRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopUserRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShopUserRelation record);

    int insertSelective(ShopUserRelation record);

    ShopUserRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShopUserRelation record);

    int updateByPrimaryKey(ShopUserRelation record);

    List<ShopUserRelation> selectByPage(Page<ShopUserRelation> page,
                                        @Param("shopId") Integer shopId, @Param("keyword") String keyword);
}